import Vue from 'vue'
import App from './App'
import router from './router'

import api from './api/index.js'
import util from '@/common/util'
import './common/appback'
//import './common/rem'

import 'video.js/dist/video-js.css'//引入video-js样式

import VueQuillEditor from 'vue-quill-editor'
// require styles 引入样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

//import 'lib-flexible/flexible.js'

Vue.use(VueQuillEditor)
import * as Quill from 'quill'; // 富文本基于quill

import Vant from 'vant';
import 'vant/lib/index.css';

import VueTouch from 'vue-touch'
Vue.use(VueTouch, {name: 'v-touch'})

Vue.use(Vant);

Vue.prototype.$http = api
Vue.prototype.$util = util

Vue.config.productionTip = false

//console.log = function () {}

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
